package com.Endurancer.manager.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.Endurancer.common.annotation.Excel;
import com.Endurancer.common.core.domain.BaseEntity;

/**
 * 博客详情信息对象 mg_blog_post
 *
 * @author Endurancer
 * @date 2025-02-08
 */
@Data
public class BlogPost extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 博客ID */
    private Long postId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 博客图片 */
    @Excel(name = "博客图片")
    private String image;

    /** 博客主题ID */
    @Excel(name = "博客主题ID")
    private Long themeId;

    /** 博客标题 */
    @Excel(name = "博客标题")
    private String title;

    /** 博客简介 */
    @Excel(name = "博客简介")
    private String summary;

    /** 博客详情 */
    @Excel(name = "博客详情")
    private String content;

    /** 发布地点 */
    @Excel(name = "发布地点")
    private String location;

    /** 点赞量，默认为0 */
    @Excel(name = "点赞量，默认为0")
    private Long likesCount;

    /** 收藏量，默认为0 */
    @Excel(name = "收藏量，默认为0")
    private Long collectionsCount;

    /** 浏览数，默认为0 */
    @Excel(name = "浏览数，默认为0")
    private Long viewsCount;

    /** 博客类型：1-原创, 2-转载, 3-其他等 */
    @Excel(name = "博客类型：1-原创, 2-转载, 3-其他等")
    private Long postType;
    /** 文章总字数 */
    @Excel(name = "文章总字数")
    private Integer blogWord;
    /** 逻辑删除标志，默认0未删除, 1删除 */
    @Excel(name = "逻辑删除标志，默认0未删除, 1删除")
    private Integer isDeleted;

}
